package com.lldpet.spring.cloud.demo.config.client.entity;

import org.springframework.stereotype.Component;

/**
 * @desc：CustomUser
 * @author: guanliang.xue
 * @date: 2021/5/12 17:23
 * @version:
 * @since: CustomUser
 */
@Component
public class CustomUser {

    private String userName;

    private String password;

    private String address;

    public CustomUser() {
    }

    public CustomUser(String userName, String password, String address) {
        this.userName = userName;
        this.password = password;
        this.address = address;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "CustomUser{" +
                "userName='" + userName + '\'' +
                ", password='" + password + '\'' +
                ", address='" + address + '\'' +
                '}';
    }
}
